function [ x ] = myDistribution( u )

    x = zeros(1, length(u));
    
    for i=1:length(u)
        if u(i) < 1/2
           x(i) = 1/2 * log(2 * u(i)); 
        else
           x(i) = -1/2 * log(2 *(1 - u(i))); 
        end
    end

end

